package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class WhoisChannelsPacket implements ISendableIRCPacket 
	{
		private static const _head:String = " 319 ";

		private var _nick:String;
		private var _whoisnick:String;
		private var _channels:String;
		
		public function WhoisChannelsPacket(nick:String, whoisnick:String, channels:String) 
		{
			_nick = nick;
			_whoisnick = whoisnick;
			_channels = channels;
		}
		
		public function getMessage():String
		{
			////:akarmi.irc.hu 319 test343 test343 :@#dfsdfsdf 
			return ":" + Config.IRC_HOST + _head + _nick + " " + _whoisnick+  " :" + _channels + "\n";
			
		}
		
	}

}